package com.slwu.factory.method;

import java.io.File;

public class GIFReader extends ImageReader {
    @Override
    public void read(File file, String format, int width, int height) {
        assert file.exists();
        assert file.isFile();

        assert "gif".equals(file.getName().substring(file.getName().lastIndexOf(".") + 1));

        System.out.println("GIFReader.read()...");
    }
}
